﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin_TA.Master" AutoEventWireup="true" CodeBehind="Admin_TAModify.aspx.cs" Inherits="TAMS.Admin_TAModify" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style15
        {
            height: 600px; 
            width: 1366px;
            width: 100%;
            border-collapse: collapse;
            margin-left:auto;
            margin-right:auto;           
        }

        .style31
        {
            width: 2px;
            }
        .style32
        {
            vertical-align:top;
            width: 809px;
            height: 20px;
        }
        .style33
        {
            width: 1px;
            }
        .style34
        {
            vertical-align: top;
            width: 809px;
            height: 599px;
            background-color: #EFF3FB;
            border-style:solid;
            border-color: #B5C7DE;
            border-width: 1px;
            width: 809px;
        }
        .style35
        {
            width: 100%;
        }
        .style36
        {
            width: 407px;
        }
        .style37
        {
            width: 49px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <table align="center" class="style15">
        <tr>
            <td class="style31" rowspan="2">
                </td>
            <td class="style34" align="center">
                <strong><span class="style5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                <br />
&nbsp;&nbsp;&nbsp;&nbsp; Edit&nbsp; Teaching&nbsp; Assistant<br />
                </span>
                </strong>
                 <br />
                ID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox 
                    ID="ID" runat="server" MaxLength="11"></asp:TextBox>
                <asp:RequiredFieldValidator ID="IdRequired" runat="server" 
                    ControlToValidate="ID" ErrorMessage="ID is required." 
                    ToolTip="ID is required." ForeColor="Red" >*</asp:RequiredFieldValidator>
                <br />
                <br />
                Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:TextBox ID="Name" runat="server" MaxLength="30"></asp:TextBox>
                <asp:RequiredFieldValidator ID="NameRequired" runat="server" 
                    ControlToValidate="Name" ErrorMessage="Name is required." 
                    ToolTip="Name is required." ForeColor="Red">*</asp:RequiredFieldValidator>
                <br />
                <br />
                Password&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:TextBox ID="Password" runat="server" MaxLength="40"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="Password" ErrorMessage="Password is required." 
                    ToolTip="Password is required." ForeColor="Red">*</asp:RequiredFieldValidator>
                <br />
                <br />
                E-Mail&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:TextBox ID="Email" runat="server" MaxLength="50"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="Email" ErrorMessage="Email is required." 
                    ToolTip="Email is required." ForeColor="Red">*</asp:RequiredFieldValidator>
                <br />
                <br />
                Birth Date&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:TextBox ID="BDate" runat="server" MaxLength="10" ToolTip="DD-MM-YYY"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ControlToValidate="BDate" ErrorMessage="BDate is required." 
                    ToolTip="Birth date is required." ForeColor="Red">*</asp:RequiredFieldValidator>
                <br />
                <br />
                Entry Date&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:TextBox ID="EDate" runat="server" MaxLength="10" 
                    ToolTip="Format: DD-MM-YYY"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                    ControlToValidate="EDate" ErrorMessage="Entry Date is required." 
                    ToolTip="Entry Date is required." ForeColor="Red">*</asp:RequiredFieldValidator>
                <br />
                <br />
                Image URL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:TextBox ID="ImgUrl" runat="server" MaxLength="200"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                    ControlToValidate="ImgUrl" ErrorMessage="Image URL Date is required." 
                    ToolTip="Entry Date is required." ForeColor="Red">*</asp:RequiredFieldValidator>
                <br />
                <br />
                <div style="color: red" align="center">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Literal ID="ErrorLiteral"  runat="server" EnableViewState="False"></asp:Literal>  
                </div>             
                <table class="style35" align="center">
                    <tr>
                        <td class="style36" align="center">
                            <asp:Button ID="Button5" runat="server" CssClass="button" 
                                onclick="Button5_Click" Text="Edit Housing" Width="90px" />
                        </td>
                        <td class="style37" align="center">
                            <asp:Button ID="Button6" runat="server" CssClass="button" 
                                onclick="Button6_Click" Text="Edit Office" Width="90px" />
                        </td>
                        <td align="center">
                            <asp:Button ID="Button7" runat="server" CssClass="button" 
                                onclick="Button7_Click" Text="Edit Courses" Width="90px" />
                        </td>
                    </tr>
                </table>
                <br />
                <br />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button ID="Add" runat="server" CssClass="button" Text="Apply" 
                    onclick="Add_Click" />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button ID="Cancel" runat="server" CausesValidation="False" 
                    CssClass="button" onclick="Cancel_Click" Text="Cancel" />
                <br />
                <br />
                </td>
            <td class="style33" rowspan="2">
                </td>
        </tr>
        <tr>
            <td class="style32" align="center">
                &nbsp;</td>
        </tr>
        </table>
</asp:Content>
